package cate.game.role.res.call.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBHeroCall;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "食神召唤之置换 の 返回")
public class CallNatureExchangeInfoResp implements MsgOutput {
    @NoteField(value = "原本英雄uid")
    public String originTid;

    @NoteField(value = "替换英雄tid")
    public int exchangeId;

    @NoteField("置换锁状态")
    public boolean heroReplace;

    @NoteField("置换, 0 同步数据 1 置换成功 2 置换取消")
    public int status;

    public CallNatureExchangeInfoResp() {

    }

    public CallNatureExchangeInfoResp(String heroUid, int replaceTid, boolean heroReplace, int status) {
        this.originTid = heroUid;
        this.exchangeId = replaceTid;
        this.heroReplace = heroReplace;
        this.status = status;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBHeroCall.NATURE_EXCHANGE_INFO_RESP;
    }

}
